package com.busines.dao.xunting.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.busines.dao.xunting.ITSchoolDao;
import com.busines.pojo.xunting.TSchool;
import com.busines.pojo.xunting.TSchoolQuery;
@Repository("tSchoolDao")
public class TSchoolDaoImpl extends BaseDao<TSchool, TSchoolQuery> implements ITSchoolDao {

	@Override
	public List<TSchool> queryInformation() {
		return this.getSqlSession().selectList(getQueryPath("queryInformation"));
	}

	@Override
	public TSchool queryInformation(Integer no) {
		return this.getSqlSession().selectOne(getQueryPath("queryInformation"), no);
	}

}
